<%@page import="java.net.URLDecoder"%>
<%@page import="java.net.URLEncoder"%>
<%@ page language="java" import="java.util.*,com.enterprise.domain.*" pageEncoding="utf-8"%>
<%@ include file="head.jsp" %>

<%
	String title=request.getParameter("Title");
	AboutusDaoImpl aboutusDaoImpl=new AboutusDaoImpl();
   System.out.println(title);
   if(title!=null)
   	URLDecoder.decode(title,"utf-8");
	Aboutus aboutus=aboutusDaoImpl.getAboutus(title);
	if(aboutus==null)
		aboutus=aboutusDaoImpl.getAboutusList().get(0);
	

 %>
<table width="991" height="353" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:16px; margin-bottom:26px;">
  <tr>
    <td width="13" valign="top"></td>
    <td width="209" valign="top"><table width="209" height="32" border="0" cellpadding="0" cellspacing="0" bgcolor="#F8F6DD">
      <tr>
        <td width="87" class="ab4" style="padding-left:15px; padding-top:3px;"><%=aboutus.getTitle()%></td>
        <td width="13" class="ab4" ><img src="images/imgbyj/line.gif" width="13" height="32" /></td>
        <td width="109" class="r2" style="padding-top:7px;">About us  </td>
      </tr>
    </table>
    <table width="209" height="28" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td><img src="images/imgbyj/ab2.gif" width="209" height="28" /></td>
          </tr>
      </table>
      <table width="209" height="84" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td align="center" valign="top" background="images/imgbyj/ab3.gif" >
<%-- 		  <%
Set rslist = Server.CreateObject("ADODB.Recordset")
sql="select Title from Aboutus where Language='1' and Aboutusorder <100 order by Aboutusorder"
rslist.open sql,conn,1,3
do while not rslist.eof
%> ----------------------------------------------------------------------------------------------------%>			
   <% ArrayList<Aboutus> arrayList=(ArrayList)aboutusDaoImpl.getAboutusList();
		for(Aboutus aboutus2:arrayList){
	 %>
	 <%{ %>
	
	       <table width="171" height="29" border="0" cellpadding="0" cellspacing="0" background="images/imgbyj/abbg.gif" style="margin-bottom:12px;">
	    
	 
                <tr>
                  <td align="left"><a href='Aboutus.jsp?Title=<%=URLEncoder.encode(aboutus2.getTitle(),"utf-8")%>' class="lmenu" style="padding-left:50px; padding-top:4px;"><%=aboutus2.getTitle()%></a></td>
                </tr>
                
           
              </table>
    <%} }%>


			
			</td>
          </tr>
      </table>
		
      <table width="209" height="16" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td><img src="images/imgbyj/ab4.gif" width="209" height="16" /></td>
          </tr>
      </table></td>
    <td width="22" valign="top"></td>
    <td width="747" valign="top"><table width="747" height="28" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="69" class="ab4" style="padding-top:5px;"><%=aboutus.getTitle()%></td>
        <td width="113"><img src="images/imgbyj/ab5.gif" width="89" height="28" /></td>
        <td width="404" align="right"><img src="images/imgbyj/ab6.gif" width="45" height="28" /></td>
        <td width="161" class="ab5" style="padding-top:5px;">&gt; 关于我们 &gt; <%=aboutus.getTitle()%></td>
      </tr>
    </table>
        <table width="740" height="1" border="0" cellpadding="0" cellspacing="0" bgcolor="#D0D0C5">
          <tr>
            <td height="1"></td>
          </tr>
        </table>
        <table width="723" height="264" border="0" align="center" cellpadding="0" cellspacing="0" style=" margin-top:41px; margin-left:12px; margin-right:12px;">
          <tr>
            <td valign="top" class="aboutus"><P><%=aboutus.getContent()%></P></td>
          
          </tr>
      </table></td>
  </tr>
</table>
<%@ include file="foot.jsp" %>